package com.whstudio.common.pattern;

import java.util.Vector;

import org.w3c.dom.Document;

public interface Observable {
	public void addObserver(Subscriber s);

	public void deleteObserver(Subscriber s);

	public void notifyObserver(Subscriber s,Object o);
	
	public void notifyObservers();

	public void notifyObservers(Object o);

	public void deleteObservers();

	public void setChanged();

	public void clearChanged();

	public boolean hasChanged();

	public int countObservers();
	
	public Vector<Subscriber> getSubscribers();
	
	public Document getUsersByXml();

}
